<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EDUKIT Developers: Класс TrafficEntry</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="ukit.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EDUKIT Developers
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Руководство программиста</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Поиск');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_i_e_p.html">IEP</a></li><li class="navelem"><a class="el" href="namespace_i_e_p_1_1_structures.html">Structures</a></li><li class="navelem"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html">TrafficEntry</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Открытые члены</a> &#124;
<a href="#pri-attribs">Закрытые данные</a>  </div>
  <div class="headertitle">
<div class="title">Класс TrafficEntry</div>  </div>
</div><!--header-->
<div class="contents">

<p>Запись об посещамости  
 <a href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#details">Подробнее...</a></p>

<p><code>#include &quot;iep/structures/trafficentry.class.php&quot;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Открытые члены</h2></td></tr>
<tr class="memitem:abf909e8f4d35958c71130e344d51d610"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#abf909e8f4d35958c71130e344d51d610">__construct</a> (string $student_email, string $date_visit, int $count_passed_pair, int $count_all_pair)</td></tr>
<tr class="separator:abf909e8f4d35958c71130e344d51d610"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf1f0493b33eba7677eed2faa13d6260"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#adf1f0493b33eba7677eed2faa13d6260">setTrafficID</a> (int $id)</td></tr>
<tr class="memdesc:adf1f0493b33eba7677eed2faa13d6260"><td class="mdescLeft">&#160;</td><td class="mdescRight">Задаёт идентификатор записи об посещамости  <a href="#adf1f0493b33eba7677eed2faa13d6260">Подробнее...</a><br /></td></tr>
<tr class="separator:adf1f0493b33eba7677eed2faa13d6260"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c92fcd6cdc150538cb9657191d9238f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#a2c92fcd6cdc150538cb9657191d9238f">getTrafficID</a> ()</td></tr>
<tr class="memdesc:a2c92fcd6cdc150538cb9657191d9238f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает идентификатор посещамости  <a href="#a2c92fcd6cdc150538cb9657191d9238f">Подробнее...</a><br /></td></tr>
<tr class="separator:a2c92fcd6cdc150538cb9657191d9238f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a023569c214e44482b467c67e82a52409"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#a023569c214e44482b467c67e82a52409">getStudentEmail</a> ()</td></tr>
<tr class="memdesc:a023569c214e44482b467c67e82a52409"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает электронную почту студента  <a href="#a023569c214e44482b467c67e82a52409">Подробнее...</a><br /></td></tr>
<tr class="separator:a023569c214e44482b467c67e82a52409"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e4f738132e9461cf82a382996363ae5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#a9e4f738132e9461cf82a382996363ae5">getDateVisit</a> ()</td></tr>
<tr class="memdesc:a9e4f738132e9461cf82a382996363ae5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает дату посещения колледжа  <a href="#a9e4f738132e9461cf82a382996363ae5">Подробнее...</a><br /></td></tr>
<tr class="separator:a9e4f738132e9461cf82a382996363ae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b8495e81a5196b10cdb35af2d24455b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#a8b8495e81a5196b10cdb35af2d24455b">getCountPassedPair</a> ()</td></tr>
<tr class="memdesc:a8b8495e81a5196b10cdb35af2d24455b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает кол-во посещённых пар  <a href="#a8b8495e81a5196b10cdb35af2d24455b">Подробнее...</a><br /></td></tr>
<tr class="separator:a8b8495e81a5196b10cdb35af2d24455b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6435e324bcd39c982ec65f0cd02ce75"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#ac6435e324bcd39c982ec65f0cd02ce75">getCountAllPair</a> ()</td></tr>
<tr class="memdesc:ac6435e324bcd39c982ec65f0cd02ce75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает всего кол-во пар  <a href="#ac6435e324bcd39c982ec65f0cd02ce75">Подробнее...</a><br /></td></tr>
<tr class="separator:ac6435e324bcd39c982ec65f0cd02ce75"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Закрытые данные</h2></td></tr>
<tr class="memitem:ae97941710d863131c700f069b109991e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#ae97941710d863131c700f069b109991e">$id</a></td></tr>
<tr class="memdesc:ae97941710d863131c700f069b109991e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Идентификатор записи об посещамости  <a href="#ae97941710d863131c700f069b109991e">Подробнее...</a><br /></td></tr>
<tr class="separator:ae97941710d863131c700f069b109991e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad634f418b20382e2802f80532d76d3cd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#ad634f418b20382e2802f80532d76d3cd">$email</a></td></tr>
<tr class="memdesc:ad634f418b20382e2802f80532d76d3cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Электронная почта студента  <a href="#ad634f418b20382e2802f80532d76d3cd">Подробнее...</a><br /></td></tr>
<tr class="separator:ad634f418b20382e2802f80532d76d3cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62ce7c92e8339db8153605dc367c4f3c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#a62ce7c92e8339db8153605dc367c4f3c">$date_visit</a></td></tr>
<tr class="memdesc:a62ce7c92e8339db8153605dc367c4f3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Дата посещения  <a href="#a62ce7c92e8339db8153605dc367c4f3c">Подробнее...</a><br /></td></tr>
<tr class="separator:a62ce7c92e8339db8153605dc367c4f3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af364ffb3ca0ad1af527d7d588d2137ea"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#af364ffb3ca0ad1af527d7d588d2137ea">$count_passed_pair</a></td></tr>
<tr class="memdesc:af364ffb3ca0ad1af527d7d588d2137ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Кол-во посещённых пар  <a href="#af364ffb3ca0ad1af527d7d588d2137ea">Подробнее...</a><br /></td></tr>
<tr class="separator:af364ffb3ca0ad1af527d7d588d2137ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8db46f3c5564523ba2129a0886159d0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_traffic_entry.html#ae8db46f3c5564523ba2129a0886159d0">$count_all_pair</a></td></tr>
<tr class="memdesc:ae8db46f3c5564523ba2129a0886159d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Общее кол-во пар  <a href="#ae8db46f3c5564523ba2129a0886159d0">Подробнее...</a><br /></td></tr>
<tr class="separator:ae8db46f3c5564523ba2129a0886159d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Подробное описание</h2>
<div class="textblock"><p>Запись об посещамости </p>
<dl class="section author"><dt>Автор</dt><dd>pmswga </dd></dl>
<dl class="section version"><dt>Версия</dt><dd>1.0 </dd></dl>
</div><h2 class="groupheader">Конструктор(ы)</h2>
<a id="abf909e8f4d35958c71130e344d51d610"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf909e8f4d35958c71130e344d51d610">&#9670;&nbsp;</a></span>__construct()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__construct </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$student_email</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$date_visit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$count_passed_pair</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$count_all_pair</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$student_email</td><td>- Электронная почта студента </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$date_visit</td><td>- Дата посещения </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$count_passed_pair</td><td>- Кол-во посещённых пар </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$count_all_pair</td><td>- Общее кол-во пар </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Методы</h2>
<a id="ac6435e324bcd39c982ec65f0cd02ce75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6435e324bcd39c982ec65f0cd02ce75">&#9670;&nbsp;</a></span>getCountAllPair()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getCountAllPair </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает всего кол-во пар </p>
<dl class="section return"><dt>Возвращает</dt><dd>Общее кол-во пар </dd></dl>
<dl class="section warning"><dt>Предупреждения</dt><dd>Возвращает кол-во часов, а не пар. Чтобы получить кол-во пар, нужно поделить часы на 2 </dd></dl>

</div>
</div>
<a id="a8b8495e81a5196b10cdb35af2d24455b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b8495e81a5196b10cdb35af2d24455b">&#9670;&nbsp;</a></span>getCountPassedPair()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getCountPassedPair </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает кол-во посещённых пар </p>
<dl class="section return"><dt>Возвращает</dt><dd>Кол-во посещённых пар </dd></dl>
<dl class="section warning"><dt>Предупреждения</dt><dd>Возвращает кол-во часов, а не пар. Чтобы получить кол-во пар, нужно поделить часы на 2 </dd></dl>

</div>
</div>
<a id="a9e4f738132e9461cf82a382996363ae5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e4f738132e9461cf82a382996363ae5">&#9670;&nbsp;</a></span>getDateVisit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getDateVisit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает дату посещения колледжа </p>
<dl class="section return"><dt>Возвращает</dt><dd>Дата посещения </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000001">Необходимо сделать:</a></b></dt><dd>Возвращать сразу отформатированную строку через функцию date() в формате "d.m.Y H:i:s" </dd></dl>

</div>
</div>
<a id="a023569c214e44482b467c67e82a52409"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a023569c214e44482b467c67e82a52409">&#9670;&nbsp;</a></span>getStudentEmail()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getStudentEmail </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает электронную почту студента </p>
<dl class="section return"><dt>Возвращает</dt><dd>Электронная почта студента </dd></dl>

</div>
</div>
<a id="a2c92fcd6cdc150538cb9657191d9238f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c92fcd6cdc150538cb9657191d9238f">&#9670;&nbsp;</a></span>getTrafficID()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getTrafficID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает идентификатор посещамости </p>
<dl class="section return"><dt>Возвращает</dt><dd>Идентификатор посещамости </dd></dl>

</div>
</div>
<a id="adf1f0493b33eba7677eed2faa13d6260"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf1f0493b33eba7677eed2faa13d6260">&#9670;&nbsp;</a></span>setTrafficID()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setTrafficID </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Задаёт идентификатор записи об посещамости </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$id</td><td>- Идентификатор записи об посещамости </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Поля</h2>
<a id="ae8db46f3c5564523ba2129a0886159d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8db46f3c5564523ba2129a0886159d0">&#9670;&nbsp;</a></span>$count_all_pair</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">$count_all_pair</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Общее кол-во пар </p>

</div>
</div>
<a id="af364ffb3ca0ad1af527d7d588d2137ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af364ffb3ca0ad1af527d7d588d2137ea">&#9670;&nbsp;</a></span>$count_passed_pair</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">$count_passed_pair</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Кол-во посещённых пар </p>

</div>
</div>
<a id="a62ce7c92e8339db8153605dc367c4f3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62ce7c92e8339db8153605dc367c4f3c">&#9670;&nbsp;</a></span>$date_visit</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">$date_visit</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Дата посещения </p>

</div>
</div>
<a id="ad634f418b20382e2802f80532d76d3cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad634f418b20382e2802f80532d76d3cd">&#9670;&nbsp;</a></span>$email</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">$email</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Электронная почта студента </p>

</div>
</div>
<a id="ae97941710d863131c700f069b109991e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae97941710d863131c700f069b109991e">&#9670;&nbsp;</a></span>$id</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">$id</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Идентификатор записи об посещамости </p>

</div>
</div>
<hr/>Объявления и описания членов класса находятся в файле:<ul>
<li>iep/structures/<a class="el" href="trafficentry_8class_8php.html">trafficentry.class.php</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Документация по EDUKIT Developers. Последние изменения: Вт 17 Окт 2017 18:09:13. Создано системой &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
